package cn.wolfcode.luowowo.article.service;


import cn.wolfcode.luowowo.article.domain.AnswerComment;
import cn.wolfcode.luowowo.article.domain.Questions;
import cn.wolfcode.luowowo.article.query.QuestionsQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IQuestionsService {

    /**
     * 分页查询
     * @param qo
     * @return
     */
    PageInfo query(QuestionsQuery qo);


    Long save(Questions questions);

    Questions get(Long id);


    List<Questions> viewnumTop();


    List<Questions> sharenumTop();

    List<Questions> thumbsupnumTop();
}
